package com.maben.disruptor.factory;

import com.lmax.disruptor.EventFactory;
import com.maben.disruptor.model.MessageModel;

/**
 * 创建【test】监听事件的工厂类
 */
public class TestEventFactory implements EventFactory<MessageModel> {
    @Override
    public MessageModel newInstance() {
        return new MessageModel();
    }
}